package com.example.wacoffee_user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wacoffee_user.pojo.dto.OrderPayDTO;
import com.example.wacoffee_user.pojo.entity.Order;
import com.example.wacoffee_user.pojo.vo.pointVo;

import java.util.List;

public interface IOrderService extends IService<Order> {
    String addOrder(Order order);

    List<Order> getAllOrder();

    List<Order> getNoPaidOrder();

    List<Order> getProcessedOrder();

    List<Order> getCanceledOrder();

    void payOrder(OrderPayDTO order);

    void cancelPay(int id);

    void addPoint(pointVo pointVo);
}
